add_executable(ycsb
        ${CMAKE_CURRENT_SOURCE_DIR}/core/core_workload.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/db/db_factory.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/ycsbc.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/core/timer.cpp)

target_link_libraries(ycsb qScanDB
                           pthread)